set j_delphi_lib=d:\delphi\delphi.lib
set j_vclskin=%j_delphi_lib%\vclskin2
set j_zip_lib=%j_delphi_lib%\zip
set j_delphi="C:\Program Files\Borland\Delphi7"

rem enter the dir
md dist
cd dist

md drcp
cd drcp

copy ..\..\conf

rem copy .dll from delphi dir
copy %j_delphi%\bin\borlndmm.dll
copy %windir%\system32\rtl70.bpl
copy %windir%\system32\vcl70.bpl

rem create a plugin dir
md plugin

rem create a skins dir for vclskin and copy only one this time
md skins
copy %j_vclskin%\skins\macos.skn skins

rem copy .dll from zip lib 
copy %j_zip_lib%\dll\UnzDll.dll
copy %j_zip_lib%\dll\ZipDll.dll

rem we will not copy .exe file here, because it will be outputed here by IDE.

cd..

cd..